import Vue from 'vue'
import VueRouter from 'vue-router'
import DataNavigation from '@/views/data_navigation.vue';
import ContactAuthor from '@/views/contact_author.vue';
import DescriptiveAnalysis from '@/views/data_analysis/descriptive_analysis.vue';
import UploadData from '@/views/data_analysis/upload_data'



Vue.use(VueRouter)


const routes = [
    {
        path: '/',
        name: 'DataNavigation',
        component: DataNavigation,
    },
    {
        path: '/ContactAuthor',
        name: 'ContactAuthor',
        component: ContactAuthor,
    },
    {
        path: '/DataDnalysis',
        name: 'DescriptiveAnalysis',
        component: DescriptiveAnalysis,
    },
]

const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
    })





export default router